package com.ericsson.enap.modules.ebmLog.entity.vgc.amf;

import com.ericsson.enap.modules.ebmLog.entity.vgc.Dimension;
import com.ericsson.enap.modules.ebmLog.entity.vgc.VgcEbmCcScc;

/**
 * @description:统计对象工厂类
 * @author: wangjingshi
 * @create: 2021-11-14 15:58
 */
public class AmfFactory {

    public static VgcEbmCcScc getAmfVO(String eventType){
        switch(eventType){
            case "amf_deregistration":
                return new DeregistrationCcScc();
            case "amf_pdu_session_establishment":
                return new PduSessionEstablishmentCcScc();
            case "amf_handover":
                return new HandoverCcScc();
            case "amf_service_request":
                return new ServiceRequestCcScc();
            default:
                return new VgcEbmCcScc();
        }
    }

    public static Dimension getAmfDimensionVO(String eventType){
        switch(eventType){
            case "amf_deregistration":
                return new Deregistration();
            case "amf_pdu_session_establishment":
                return new PduSessionEstablishment();
            case "amf_handover":
                return new Handover();
            case "amf_service_request":
                return new ServiceRequest();
            default:
                return new Dimension();
        }
    }

}
